
function getBarList(merType,iconUrl)  {

    if(merType === '1'){
        return  [
            {
                iconPath: iconUrl + "任务.png",
                selectedIconPath: iconUrl + "任务blue.png",
                text: '任务',
                customIcon: false,
                pagePath: "/pages/task/index"
            },
            {
                iconPath: iconUrl + "我的.png",
                selectedIconPath: iconUrl + "我的blue.png",
                text: '我的',
                customIcon: false,
                pagePath: "/pages/mine/index"
            },
        ]
    }else{
        return [
            {
                iconPath: iconUrl + "任务.png",
                selectedIconPath: iconUrl + "任务blue.png",
                text: '任务',
                customIcon: false,
                pagePath: "/pages/task/merIndex"
            },
            {
                //https://cdn.uviewui.com/uview/common/min_button.png
                iconPath: "https://cdn.uviewui.com/uview/common/min_button_select.png",
                selectedIconPath: "https://cdn.uviewui.com/uview/common/min_button_select.png",
                text: '发布',
                midButton: true,
                customIcon: false,
                pagePath: "/pages/task/merPublish"
            },
            {
                iconPath: iconUrl + "我的.png",
                selectedIconPath: iconUrl + "我的blue.png",
                text: '我的',
                customIcon: false,
                pagePath: "/pages/mine/merIndex"
            },
        ]
    }
};
export default {getBarList}
